package thisdemo01;
/*
 *      测试类:
 *      用于对this的测试
 * */


public class Test {
    public static void main(String[] args) {
        //目标:认识this关键字
        Student s1 = new Student();
        System.out.println(s1);
        s1.print();

        System.out.println("-------------");

        Student s2 = new Student();
        System.out.println(s2);
        s2.print();

        System.out.println("------------");

        Student s3 = new Student();
        s3.score = 150;
        s3.pass(200);
    }
}
